$("#my_image").attr("src","second.jpg");
//Change the img property using jQuery's attr method $("#myImage").attr("src", 'img/new-image.jpg');